//
//  CorpusDetailViewController.m
//  项目
//
//  Created by 关雷 on 15-1-5.
//  Copyright (c) 2015年 张诗雨. All rights reserved.
//

#import "CorpusDetailViewController.h"
#import "AFNetWoringYu.h"

@interface CorpusDetailViewController ()

@end

@implementation CorpusDetailViewController
- (void)dealloc
{
    [_albumid release];
    [super dealloc];
    
}
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self startConnect];
    // Do any additional setup after loading the view.
   
}

- (void)startConnect
{
    NSString * str = [NSString stringWithFormat:@"albumid=%@&auth=&client=1", self.albumid];
    [AFNetWoringYu netWorkWithURL:@"http://api.pianke.me/read/album_detail" body:str resultBlock:^(id dic) {
        
        
    }];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
